package jp.sinya.register.web.servlet;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class TestServlet extends BaseServlet {
    public String test1(HttpServletRequest req, HttpServletResponse res) {
        System.out.println("test1......");
        return "redirect:/index.jsp";
    }

    public String test2(HttpServletRequest req, HttpServletResponse res) {
        System.out.println("test2......");
        return "forward:/success.jsp";
    }
}
